package file;

import java.io.File;
 
public class DirectoryReader { 

	public DirectoryReader() { 
	} 

	public static File[] listFiles(String directoryPath){ 
		//Parcours (recursive ?) d'un dossier (cela servira pour l'initialisation de l'indexion
		File[] files = null; 
		File directoryToScan = new File(directoryPath); 
		files = directoryToScan.listFiles(); 
		
		return files; 
	} 
	
} 